@extends('admin.inc.base')
@section('content')
    <link rel="stylesheet" type="text/css" href="/public/statics/libs/wangEditor/dist/css/wangEditor.min.css">
    <script type="text/javascript" src="/public/statics/libs/wangEditor/dist/js/lib/jquery-1.10.2.min.js"></script>
    <script type="text/javascript" src="/public/statics/libs/wangEditor/dist/js/wangEditor.js"></script>

    <div class="panel panel-default">
        <div class="panel-heading">
            编辑分类
        </div>
        <div class="panel-body">
            <form action="/administrator/postCid/{{ $postCid->id }}" method="post">
                <div class="form-group">
                    <label for="">分类名称</label>
                    <input type="text" class="form-control" value="{{ $postCid -> title }}" name="title"  placeholder="文章标题">
                </div>

                <button type="submit" class="btn btn-default">提交</button>
            </form>
        </div>
    </div>

    <script type="text/javascript">
        var editor = new wangEditor('content');
        editor.create();
    </script>

@endsection